home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / config.solaris2 < prev    next >
Text File  |  1995-02-07  |  2KB  |  75 lines

  1. #
  2. #    config.i for SOLARIS 2.3 and gcc 2.5.8
  3. #
  4. #    by Axel Rohde (rohde@physik.uni-kiel.d400.de)
  5. #
  6. #       see below for a description of compiler flags
  7.  
  8. CC = gcc -O2 -s -mv8 -fomit-frame-pointer -I/usr/openwin/include
  9. # -mv8 for Sparc 10-40, 10-50 (' cg 92 '). May not work on older machines
  10.  
  11. LIBS   = -lm -lcurses 
  12. XLIBS  = -lm -lX11 -lcurses
  13. CFLAGS = -Dunix -DLINUXFKEY -DBIGINDIAN -DSYSV -DSVR4 -DGOTSTRDUP -DNOKEYPAD
  14.  
  15. #ifdef windows
  16. XGLE = gle_x
  17. DXO = ../../d_x.o
  18. XSURF = surf_x
  19. #endif
  20.  
  21. GLE_PATH=/usr/local/gle
  22.  
  23.  
  24. ###########################################################################
  25. #    The meaning of compiler flags:
  26. ###########################################################################
  27. #
  28. # -Dunix
  29. #    The system is unix-like.
  30. #
  31. # -DBIGINDIAN
  32. #    Descibes the byte-ordering of your hardware.
  33. #
  34. # -DINT32
  35. #    Use this flag, if your machine is 64 bit
  36. #
  37. # -DNOKEYPAD
  38. #    Use this flag, if function-keys don't work after compiling gle.
  39. #    Recommended!
  40. #
  41. # -DNOATTRIB
  42. #    Use this flag, if your curses library is dumb an some features
  43. #    like switching attributes (bold, inverse, colours, etc.)
  44. #    are missing. See -DMANIPCURPOS below.
  45. #
  46. #
  47. # -DMANIPCURPOS
  48. #    To let the status-line of MANIP show the currently manipulated
  49. #    field. This is *very* useful, if you have to compile gle with
  50. #    -DNOATTRIB. In this case, you have a dumb curses library, that
  51. #    lacks a couple of features (and if you have time, try to get
  52. #    the ncurses library).
  53. #
  54. # -DNOBACKINGSTORE
  55. #    the usage of 'backingstore' is enabled as default setting to avoid,
  56. #    that the X-Window System forgets the contents of gle_x' graphics
  57. #    window, when it is hidden behind another window. Backingstore
  58. #    needs RAM, therefore set -DNOBACKINGSTORE on systems with little
  59. #    memory e.g. Linux with < 8MB. If the X Window server does not
  60. #    support backingstore, gle_x does not use it.
  61. #
  62. # -DGOTSTRDUP
  63. #    Set this flag, if your library already includes a strdup() call.
  64. #    If you use gcc, this flag should work.
  65. #
  66. # -DLINUXFKEY
  67. #    Usage of F1 - F4 instead of F11 .., in xterm with standard key
  68. #    mapping.
  69. #
  70. # -DLINUX
  71. #    Is obsolete. After compiling GLE under DOS and OS/2 using gcc
  72. #    ports for these system, I replaced '#ifdef LINUX' statements with
  73. #    '#ifdef __GNUC__'. __GNUC__ is automatically defined by GCC.
  74.  
  75.